package cn.csc.module.shop.controller.admin.detail.vo;

import cn.csc.framework.common.pojo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 店铺详情分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ShopDetailPageReqVO extends PageParam {

    @ApiModelProperty(value = "华商贸的公司id,与支付模块对应")
    private String appUserId;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "店铺状态(-1:已删除 0: 停业中 1:营业中)")
    private Byte shopStatus;

    @ApiModelProperty(value = "行业类型")
    private Byte businessType;

    @ApiModelProperty(value = "行业id")
    private String businessId;

    @ApiModelProperty(value = "行业名称")
    private String businessName;

    @ApiModelProperty(value = "法人名称")
    private String legalPersonName;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "联系方式")
    private String phoneNumber;

    @ApiModelProperty(value = "法人证件类型")
    private String certificateType;

    @ApiModelProperty(value = "证件号码")
    private String idCardNo;

    /**
     * 审核状态(0:不需审核 1:等待审核 2:审核通过 3:需补充资料 4:审核不通过)
     */
    @ApiModelProperty(value = "审核状态(0:不需审核 1:等待审核 2:审核通过 3:需补充资料 4:审核不通过)", required = true)
    private Integer auditStatus;

    /**
     * 店铺类型,1自营店 2普通店 3华商贸店铺 5采购商 10供货商 15采购商+供货商 20 选品卖家 30 供货商+卖家
     */
    @ApiModelProperty(value = "店铺类型,1自营店 2普通店 3华商贸店铺 5采购商 10供货商 15采购商+供货商 20 选品卖家 30 供货商+卖家")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
